import hzcRequest from "../../../utils/https";

// 商品详情
const getGoodsDetails=(data)=>{
    return hzcRequest.post(`/getGoodsDetails`,data)
}


// 商品收藏
const operateGoodsCollect=(data)=>{
    return hzcRequest.post(`/operateGoodsCollect`,data)
}


// 加入购物车
const saveGoodsCar=(data)=>{
    return hzcRequest.post(`/saveGoodsCar`,data)
}

export { getGoodsDetails,saveGoodsCar,operateGoodsCollect};